package funjava;

import static java.lang.Math.floorMod;

/**
 * Created by judasnow on 5/11/16.
 */
public class C1_2 {
    public static int c1_2(int x) {
        return x % 359;
    }
    public static int c1_2_2(int x) {
        return floorMod(x, 359);
    }
    public static void main (String[] args) {
        System.out.println(c1_2(360));
        System.out.println(c1_2_2(360));
    }
}
